package org.skywork.top.core.rule.model.rete;


public enum NodeType {
    and, or, criteria, namedCriteria, objectType, terminal;

    public static ReteNode newReteNodeInstance(NodeType type) {
        switch (type) {
            case and:
                return new AndNode();
        }
        return null;
    }
}
